package org.zhq.core;

import java.io.Closeable;

/**
 * @author zhengquan
 * @date 2019/1/24
 */
public interface Receiver extends Closeable {

    void setReceiveListener(IoArgs.IoArgsEventProcessor processor);

    void postReceiveAsync() throws Exception;

    long getLastReadTime();
}

